package by.grsu.crs.model;

public class Status {
	private int id;
	private Type type;
	private String text;
	private String notice;
	
	public enum Type {
		PAYMENT, ORDER
	}
	
	public Status(int id, Type type, String text, String notice) {
		super();
		this.id = id;
		this.type = type;
		this.text = text;
		this.notice = notice;
	}
	
	public Status(Type type, String text, String notice) {
		super();
		this.type = type;
		this.text = text;
		this.notice = notice;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getId() {
		return id;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}
}